package com.hzp.dcruitmentpd.service.impl;

import com.hzp.dcruitmentpd.entity.Zhiwei;
import com.hzp.dcruitmentpd.mapper.ZhiweiMapper;
import com.hzp.dcruitmentpd.service.IZhiweiService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.wangyongliang.common.vo.ResultEntity;
import com.wangyongliang.common.vo.ZhiWei;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Hzp
 * @since 2020-03-25
 */
@Service
public class ZhiweiServiceImpl extends ServiceImpl<ZhiweiMapper, Zhiwei> implements IZhiweiService {

    @Override
    public ResultEntity getzhiwei(ZhiWei zhiwei) {
        ZhiWei getzhiwei = this.baseMapper.getzhiwei(zhiwei);
        return ResultEntity.ok(getzhiwei);
    }
}
